/*
 * @description: pinia 本地缓存
 * @Author: Islands
 * @Date: 2024-06-14 17:59:45
 * @LastEditTime: 2024-06-20 15:13:47
 */
import { createPinia } from "pinia";
//pinia持久化插件
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

export function setupStore(app: any) {
    app.use(pinia);
}


//抽取store
export * from '@/store/authorize';
export * from '@/store/config';
export * from '@/store/tabs-nav';